package bupt.com.test.bean;

import java.io.Serializable;
import java.util.List;

/**
 * 测试
 */

public class RequestInfo implements Serializable {

    /**
     * name : 张云翔
     * age : 23
     */

    private ParamsBean params;
    /**
     * params : {"name":"张云翔","age":"23"}
     * page : ["1","2","3","4"]
     */

    private List<String> page;

    public ParamsBean getParams() {
        return params;
    }

    public void setParams(ParamsBean params) {
        this.params = params;
    }

    public List<String> getPage() {
        return page;
    }

    public void setPage(List<String> page) {
        this.page = page;
    }

    public static class ParamsBean {
        private String name;
        private String age;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAge() {
            return age;
        }

        public void setAge(String age) {
            this.age = age;
        }

        @Override
        public String toString() {
            return "ParamsBean{" +
                    "name='" + name + '\'' +
                    ", age='" + age + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "RequestInfo{" +
                "params=" + params +
                ", page=" + page +
                '}';
    }
}
